package com.gof.example.flyweight;

/**
 * Created with IntelliJ IDEA.
 * Created by zhiyuan on 2018/5/8 09:42.
 * haiming.fei@tongdun.cn
 */
public class Position {

    private int x;
    private int y;

    public int getX() {
        return x;
    }

    public void setX(int x) {
        this.x = x;
    }

    public int getY() {
        return y;
    }

    public void setY(int y) {
        this.y = y;
    }

    @Override
    public String toString() {
        return "Position{" +
                "x=" + x +
                ", y=" + y +
                '}';
    }
}
